package com.ytjj.qmyx.supplychain.mapper;

import com.ytjj.qmyx.supplychain.common.model.request.StockWarningRequest;
import com.ytjj.qmyx.supplychain.mapper.entity.YxStockWarning;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface StockWarningMapper extends Mapper<YxStockWarning> {

    List<YxStockWarning> list(StockWarningRequest request);

    void updateBySupplySpecIds(@Param("warnStatus") Integer warnStatus,@Param("list") List<Integer> loseSpecId);
}
